<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
    
    public $config=null;
   public function _initDatabase()
    {
       $config = new Zend_Config_Ini('application/configs/application.ini','staging');
        $db =  new Zend_Db_Adapter_Pdo_Mysql($config->database->params);
        Zend_Registry::set('Zend_Db', $db);
    }
/*
    protected function _initAutoload()
    {
        $autoloader = new Zend_Loader_Autoloader_Resource(array(
            'namespace' => '',
            'basePath' => APPLICATION_PATH,
            'resourceTypes' => array(
                'form' => array(
                    'path' => 'forms',
                    'namespace' => 'Form',
                ),
                'model' => array(
                    'path' => 'models',
                    'namespace' => 'Model',
                ),
            )
        ));
        return $autoloader;
    }
 * */
 
}

